package com.example.wan_android.adapter

import com.example.wan_android.BR
import com.example.wan_android.R
import com.example.wan_android.databinding.AdapterNavChildrenBinding
import com.example.wan_android.http.bean.NavArticlesData
import com.example.wan_android.viewmodel.SystemViewModel

class NavChildrenAdapter(vm: SystemViewModel) :
    CoreAdapter<AdapterNavChildrenBinding, SystemViewModel, NavArticlesData>(
        BR.data,
        BR.viewModel,
        vm
    ) {
    override fun getItemLayoutId(viewType: Int): Int {
        return R.layout.adapter_nav_children
    }
}